package cn.tedu.ivos2.dict.service.impl;

import cn.tedu.ivos2.dict.mapper.DictMapper;
import cn.tedu.ivos2.dict.pojo.dto.DictQuery;
import cn.tedu.ivos2.dict.pojo.vo.DictVO;
import cn.tedu.ivos2.dict.service.DictService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
@Slf4j
public class DictServiceImpl implements DictService {
    @Autowired
    private DictMapper dictMapper;
    @Override
    public List<DictVO> selectDict(DictQuery dictQuery) {
        log.debug("查询字典列表业务,{}", dictQuery);
        List<DictVO> list = dictMapper.selectDict(dictQuery);
        return list;
    }
}
